package com.cfswt.tasksystem.mapper;

import com.cfswt.tasksystem.pojo.dto.PlanToolOrderItemDTO;
import com.cfswt.tasksystem.pojo.dto.ToolOrderItemDTO;
import com.cfswt.tasksystem.pojo.vo.ToolOrderItemApprovalVO;
import com.cfswt.tasksystem.pojo.vo.ToolOrderItemChartsVO;
import com.cfswt.tasksystem.pojo.vo.ToolOrderItemManagementVO;
import com.cfswt.tasksystem.pojo.vo.ToolOrderItemPlanVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ToolOrderItemMapper {
    public int addToolOrderItem(ToolOrderItemDTO toolOrderItemDTO);

    public List<ToolOrderItemApprovalVO> selectToolOrderItemApprovalVOByOrderId(Integer orderId);

    public List<ToolOrderItemPlanVO> selectToolOrderItemPlanVOByOrderId(Integer orderId);

    public List<ToolOrderItemManagementVO> selectToolOrderItemManagementVO();

    public int updatePlanToolOrderItemByItemId(PlanToolOrderItemDTO planToolOrderItemDTO);

    public List<ToolOrderItemChartsVO> selectToolOrderItemCharts();
}
